export const rules = {
  number: [
    {
      required: true,
      message: '手机号不能为空~',
      trigger: 'blur'
    },
    {
      pattern: /^(?:(?:\+|00)86)?1[3-9]\d{9}$/,
      message: '手机号为0086或+86加11位数字~',
      trigger: 'blur'
    }
  ],
  code: [
    {
      required: true,
      message: '验证码不能为空~',
      trigger: 'blur'
    }
  ]
}
